package com.mezz.bones.im.logic.process.impl;


import com.mezz.bones.im.common.enums.ActionCodeEnum;
import com.mezz.bones.im.common.message.base.MessageHeader;
import com.mezz.bones.im.common.message.body.in.NonReq;
import com.mezz.bones.im.common.domain.user.ImUserConnectInfo;
import com.mezz.bones.im.logic.process.interfaces.AbstractMessageLogicProcess;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @Author: zhuang
 * @Date: 2024/11/29 18:39
 * @Description: TODO
 * @Version: 1.0
 **/

@Service
public class ServiceDemoProcess extends AbstractMessageLogicProcess<NonReq,Object> {

    @Override
    public String tag() {
        return ActionCodeEnum.SERVICE_DEMO.getCode();
    }

    @Override
    public Object process(ImUserConnectInfo senderUserConnectInfo, MessageHeader header, NonReq req, Map<String,Object> context) {
        log.info("执行业务逻辑");
        return null;
    }
}
